home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Libraries / Runtime / Runtime PPC / Sources / xsetjmp.c < prev   
Encoding:
C/C++ Source or Header  |  1995-03-16  |  526 b   |  16 lines  |  [TEXT/MPCC]

  1. /************************************************************************/
  2. /*    Project...:    Standard ANSI-C Library                                    */
  3. /*    Name......:    xsetjmp.c                                                */
  4. /*    Purpose...:    Extra setjmp/longjmp support                            */
  5. /*  Copyright.: ©Copyright 1994 by metrowerks inc. All rights reserved. */
  6. /************************************************************************/
  7.  
  8. #include <setjmp.h>
  9. #include <MWException.h>
  10.  
  11. void __longjmp_ldestr(jmp_buf env,int val)
  12. {
  13.     __destroy_autotemp_objects_to((void *)*env);
  14.     longjmp(env,val);
  15. }
  16.